<include file="Public/header"/>
<div id="tool_bar">
    <div class="plugin"></div>
    <div class="search r">
    </div>
</div>
</div>
<div id="page_body">
    <div class="main_warp" id="main_warp">
        <div class="main_body" id="main_body">  

            <div class="mod space">
                <div class="m_bd">
                    <div class="form">

                        <form method="POST" action="{:U('Admin/Addgoods/index')}" style="margin:0">
                            <div class="m_head" align="center">
                                <INPUT TYPE="submit" class="button" value="增加一项货物" style="margin-top: 20px;padding: 10px"/>
                                <div style="padding-top: 20px;padding-bottom: 20px">
                                    <table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <th colspan="7" background="__ROOT__/static/images/tab_05.gif">货物列表</th>
                                        </tr>
                                        <tr>
                                            <th background="__ROOT__/static/images/tab_14.gif">编号</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">名称</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">规格</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">单位</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">单价</th>

                                            <th background="__ROOT__/static/images/tab_14.gif">备注</th>
                                            <th background="__ROOT__/static/images/tab_14.gif">操作</th>
                                        </tr>
                                        <volist name="goodsList" id="gdsList">
                                            <tr>
                                                <td width="70px" align="center">{$gdsList.goodscode}</td>
                                                <td width="70px" align="center">{$gdsList.goodsname}</td>
                                                <td width="70px" align="center">{$gdsList.goodsstandard}</td>
                                                <td width="70px" align="center">{$gdsList.goodsunit}</td>

                                                <td width="70px" align="center">{$gdsList.goodsprice}</td>

                                                <td width="70px" align="center">{$gdsList.remark}</td>
                                                <td width="100px" align="center"><a href="{:U('Admin/Modifygoods/index?goodsid='.$gdsList['id'])}" style="color:blue">修改</a>
                                                    <a href="{:U('Admin/Setgoods/del?goodsid='.$gdsList['id'])}" style="color:red">删除</a></td>
                                            </tr>    
                                        </volist>


                                    </table>


                                </div>
                            </div>
                            <hr style="color: black" />
                        </form>

                    </div>          
                </div>

            </div>
        </div>
    </div>
</div>

<include file="Public/footer"/>